<html>
    <style>
        body {
            height: 100%;
            background-image: linear-gradient(to right, #4CAF50, #008CBA);  /*设置背景从上到下渐变*/
            color: white;
            font-family: Arial, sans-serif;
            text-align: center;
        }
    </style>
    <body>
        <form action="/add" method="post">
            名字:<input type="text" name="name" ><br>
            性别:<input type="text" name="sex" ><br>
            年龄:<input type="text" name="age" ><br>
            班级:<input type="text" name="class" ><br>
            家庭地址:<input type="text" name="address" ><br>
            <input type="submit" value="提交">
        </form>
    </body>
</html>